From 6964d467510849e3e262518cb87bff7ef92e01f5 Mon Sep 17 00:00:00 2001
From: yangcaoyuan <yangcaoyuan@allwinnertech.com>
Date: Mon, 11 Jul 2016 10:23:00 +0800
Subject: [PATCH] driver:cedar-ve delete non_secure code

Change-Id: I6ca0037ea3decd13bb4ab854081f6ae4c576bd47
---
 drivers/media/cedar-ve/cedar_ve.c | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/drivers/media/cedar-ve/cedar_ve.c b/drivers/media/cedar-ve/cedar_ve.c
index 0c1be78..a2f4bec 100755
--- a/drivers/media/cedar-ve/cedar_ve.c
+++ b/drivers/media/cedar-ve/cedar_ve.c
@@ -744,28 +744,7 @@ long cedardev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
         case IOCTL_GET_IC_VER:
         {        	
 			return 0;
-        }        
-        case IOCTL_READ_REG:
-        {
-            struct cedarv_regop reg_para;
-			if(copy_from_user(&reg_para, (void __user*)arg, sizeof(struct cedarv_regop)))
-			{
-                return -EFAULT;
-			}
-            return readl(reg_para.addr);
-        }
-
-        case IOCTL_WRITE_REG:
-        {
-            struct cedarv_regop reg_para;
-			if(copy_from_user(&reg_para, (void __user*)arg, sizeof(struct cedarv_regop)))
-			{
-	            return -EFAULT;
-			}
-            writel(reg_para.value, reg_para.addr);
-            break;
         }
-        break;
         case IOCTL_SET_REFCOUNT:
         	cedar_devp->ref_count = (int)arg;
         break;
